Optimal. Leaf size=68 \[ \frac{x (b B-A c)}{2 c^2 \left (b+c x^2\right )}-\frac{(3 b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{2 \sqrt{b} c^{5/2}}+\frac{B x}{c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0610082, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1584, 455, 388, 205} \[ \frac{x (b B-A c)}{2 c^2 \left (b+c x^2\right )}-\frac{(3 b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{2 \sqrt{b} c^{5/2}}+\frac{B x}{c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 455
Rule 388
Rule 205
Rubi steps
\begin{align*} \int \frac{x^6 \left (A+B x^2\right )}{\left (b x^2+c x^4\right )^2} \, dx &=\int \frac{x^2 \left (A+B x^2\right )}{\left (b+c x^2\right )^2} \, dx\\ &=\frac{(b B-A c) x}{2 c^2 \left (b+c x^2\right )}-\frac{\int \frac{b B-A c-2 B c x^2}{b+c x^2} \, dx}{2 c^2}\\ &=\frac{B x}{c^2}+\frac{(b B-A c) x}{2 c^2 \left (b+c x^2\right )}-\frac{(3 b B-A c) \int \frac{1}{b+c x^2} \, dx}{2 c^2}\\ &=\frac{B x}{c^2}+\frac{(b B-A c) x}{2 c^2 \left (b+c x^2\right )}-\frac{(3 b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{2 \sqrt{b} c^{5/2}}\\ \end{align*}
Mathematica [A] time = 0.0508732, size = 68, normalized size = 1. \[ -\frac{x (A c-b B)}{2 c^2 \left (b+c x^2\right )}-\frac{(3 b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{2 \sqrt{b} c^{5/2}}+\frac{B x}{c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 82, normalized size = 1.2 \begin{align*}{\frac{Bx}{{c}^{2}}}-{\frac{xA}{2\,c \left ( c{x}^{2}+b \right ) }}+{\frac{Bbx}{2\,{c}^{2} \left ( c{x}^{2}+b \right ) }}+{\frac{A}{2\,c}\arctan \left ({cx{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}}-{\frac{3\,Bb}{2\,{c}^{2}}\arctan \left ({cx{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.83867, size = 433, normalized size = 6.37 \begin{align*} \left [\frac{4 \, B b c^{2} x^{3} +{\left (3 \, B b^{2} - A b c +{\left (3 \, B b c - A c^{2}\right )} x^{2}\right )} \sqrt{-b c} \log \left (\frac{c x^{2} - 2 \, \sqrt{-b c} x - b}{c x^{2} + b}\right ) + 2 \,{\left (3 \, B b^{2} c - A b c^{2}\right )} x}{4 \,{\left (b c^{4} x^{2} + b^{2} c^{3}\right )}}, \frac{2 \, B b c^{2} x^{3} -{\left (3 \, B b^{2} - A b c +{\left (3 \, B b c - A c^{2}\right )} x^{2}\right )} \sqrt{b c} \arctan \left (\frac{\sqrt{b c} x}{b}\right ) +{\left (3 \, B b^{2} c - A b c^{2}\right )} x}{2 \,{\left (b c^{4} x^{2} + b^{2} c^{3}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.667197, size = 114, normalized size = 1.68 \begin{align*} \frac{B x}{c^{2}} + \frac{x \left (- A c + B b\right )}{2 b c^{2} + 2 c^{3} x^{2}} + \frac{\sqrt{- \frac{1}{b c^{5}}} \left (- A c + 3 B b\right ) \log{\left (- b c^{2} \sqrt{- \frac{1}{b c^{5}}} + x \right )}}{4} - \frac{\sqrt{- \frac{1}{b c^{5}}} \left (- A c + 3 B b\right ) \log{\left (b c^{2} \sqrt{- \frac{1}{b c^{5}}} + x \right )}}{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.28015, size = 80, normalized size = 1.18 \begin{align*} \frac{B x}{c^{2}} - \frac{{\left (3 \, B b - A c\right )} \arctan \left (\frac{c x}{\sqrt{b c}}\right )}{2 \, \sqrt{b c} c^{2}} + \frac{B b x - A c x}{2 \,{\left (c x^{2} + b\right )} c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]